package com.niit.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.niit.dormitory.entity.Student;
import com.niit.dormitory.form.SearchForm;
import com.niit.dormitory.form.StudentForm;
import com.niit.dormitory.vo.PageVO;

public interface StudentService extends IService<Student> {
    public Boolean saveStudent(Student student);

    public PageVO list(Integer page, Integer size);

    public PageVO search(SearchForm searchForm);

    public Boolean update(StudentForm studentForm);

    public Boolean deleteById(Integer id);
}
